﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/Principal.master" CodeBehind="DiasLibres.aspx.vb" Inherits="webNaviera.DiasLibres" %>
<%@ Register namespace="eWorld.UI" tagprefix="UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
        }
        .style5
        {
        }
        .style7
        {
            height: 16px;
        }
        .style14
        {
            height: 16px;
        }
        .style16
        {
        }
        .style17
        {
            width: 253px;
            height: 16px;
        }
        .style21
        {
            width: 201px;
        }
        .style23
        {
        }
        .style28
        {
        }
        .style48
        {
            width: 296px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <script>

     var ventana_secundaria;
     var ventana_secundaria2;

     function abrirVentanaCons() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../popup/BuscarUsuarios.aspx?tipo=CON", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionPaquetes", "");
     }

     
     function abrirVentanaEmb() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../PopUp/BuscarUsuarios.aspx?tipo=EMB", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
      
         __doPostBack("MiFuncionPaquetes", "");
     }


     function abrirVentanaVje() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../popup/BusquedaViaje.aspx", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionPaquetes", "");
     }
     function abrirVentanaVje1() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../popup/BusquedaViaje.aspx", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionPaquetes1", "");
     }
  </script>
    <p>
                           
                            <table>
                             <tr class="TRlist3">
                                <td class="style7" colspan="2" 
                                    style="background-color: #BFDBFF">
                                    &nbsp;</td>
                            </tr>
                            
                            <tr class="TRlist3" __designer:mapid="4593">
                                <td __designer:mapid="4594" class="style5" colspan="11" 
                                    style="background-color: #BFDBFF;">
                                    <asp:Label ID="lblAdmDia" runat="server" style="font-weight: 700" 
                                        Text="Administrar Días libres" ForeColor="#000066"></asp:Label>
                                </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4593">
                                <td __designer:mapid="4594" class="style5">
                                    &nbsp;</td>
                                <td class="style23" __designer:mapid="4595">
                                    &nbsp;</td>
                                <td class="style23" __designer:mapid="4595">
                                    &nbsp;</td>
                                <td __designer:mapid="4595">
                                    &nbsp;</td>
                                <td class="style28" __designer:mapid="45fb">
                                    &nbsp;</td>
                                <td class="style16" __designer:mapid="45fc">
                                    &nbsp;</td>
                                <td style="HEIGHT: 16px; width: 83px" __designer:mapid="4662">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="4663">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a7">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46a8">
                                    &nbsp;</td>
                                <td style="width: 200px; height: 16px;" __designer:mapid="46ec">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="487e">
                                <td colspan="11" __designer:mapid="487f">
                                    <dx:ASPxPageControl ID="sTab" runat="server" 
        ActivateTabPageAction="Click" ActiveTabIndex="0" ClientIDMode="AutoID" 
        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" 
        LoadingPanelImagePosition="Left" 
        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" TabAlign="Left" 
        TabPosition="Top" TabSpacing="3px" Width="100%">
        <TabPages>
            <dx:TabPage Text="General">
                <ActiveTabImage Align="NotSet">
                </ActiveTabImage>
                <TabImage Align="NotSet">
                </TabImage>
                <ActiveTabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </ActiveTabStyle>
                <TabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </TabStyle>
                <ContentCollection>
                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">

                    <table border="0" cellpadding="3" cellspacing="2">
                            
                            <tr class="TRlist3">
                                <td class="style21" style="color: #808080">
                                    <asp:Localize ID="Localize1" runat="server"></asp:Localize>
                                    Tipo</td>
                                <td style="color: #808080;"  >
                                    <asp:RadioButton ID="optCli" runat="server" Text="Cliente" />
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:RadioButton ID="optGrp" runat="server" Text="Grp Empresarial" />
                                </td>
                                <td style="color: #808080;" colspan="2"  >
                                    &nbsp;</td>
                                <td></td>
                                <td></td>

                            </tr>
                            <tr class="TRlist3">
                                <td class="style21" style="color: #808080">
                                    <asp:CheckBox runat="server" Text="Cliente" ID="chkCliente" AutoPostBack="True"></asp:CheckBox>

                                </td>
                                <td colspan="3" style="color: #808080">
                                    <b>
                                    <asp:TextBox ID="txtCodCsne" runat="server" MaxLength="6" Width="60px" 
                                        Enabled="False"></asp:TextBox>
                                    
                                    </b>
                                    <asp:TextBox ID="txtCsne" runat="server" MaxLength="80" Width="219px"></asp:TextBox>
                                    <img border="0"      src="../../res/img/search.gif" onclick ="abrirVentanaCons();" 
                                style="height: 16px; width: 15px;" id="imgCsne"/>
                                </td>
                                <td style="style11: ;" class="style16">
                                    &nbsp;</td>
                                <td style="style11: ;">
                                    &nbsp;</td> 
                            </tr>
                            <tr class="TRlist3">
                                <td class="style21" style="color: #808080">
                                    <asp:CheckBox ID="chkEmbarcador" runat="server" Text="Shipper" Width="90px" />
                                </td>
                                <td colspan="3" style="color: #808080">
                                    <asp:TextBox ID="txtCodEmb" runat="server" MaxLength="6" Width="60px" 
                                        Enabled="False"></asp:TextBox>
                                    <asp:TextBox ID="txtEmb" runat="server" Enabled="False" MaxLength="80" 
                                        Width="219px"></asp:TextBox>
                                    <img border="0"      src="../../res/img/search.gif" onclick ="abrirVentanaEmb();" 
                                style="height: 16px; width: 15px;" id="imgEmb"/>
                                </td>
                                <td class="style16" style="style11: ;">
                                    &nbsp;</td>
                                <td style="style11: ;">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3">
                                <td class="style21" style="color: #808080">
                                    <asp:Label ID="Label7" runat="server" 
                                        Text="Servicio" Width="85px"></asp:Label>
                                </td>
                                <td _designer:mapid="41cb" class="style14" style="color: #808080">
                                   <asp:DropDownList ID="cboServicio" runat="server" Width="221px">
                    </asp:DropDownList>
                                </td>
                                <td class="style48" style="color: #808080">
                                    Nro. Acuerdo</td>
                                <td class="style17" style="color: #808080">
                                    <asp:TextBox ID="txtNroAcuerdo" runat="server" Width="178px" MaxLength="50"></asp:TextBox>
                                </td>
                                <td class="style3" style="style11" colspan="2">
                                    <b>
                                    <asp:CheckBox ID="chkApp" runat="server" Text="Aplicar BL Hijo" Width="116px" />
                                    </b></td> 
                            </tr>
                            <tr class="TRlist3">
                                <td class="style21" style="color: #808080">
                                    Ini. Vigencia</td>
                                <td class="style14" style="color: #808080" _designer:mapid="41cb">
                                    <asp:TextBox ID="txtIniVig" runat="server"></asp:TextBox>
                                    <cc1:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" 
                                        TargetControlID="txtIniVig">
                                    </cc1:CalendarExtender>
                                    <cc1:MaskedEditExtender ID="MaskedEditExtender1" runat="server" 
                                        CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                        CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                        CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                                        Mask="99/99/9999" MaskType="Date" TargetControlID="txtIniVig">
                                    </cc1:MaskedEditExtender>

                                    </td>
                                <td class="style48" style="color: #808080">
                                    Fin de Vigencia</td>
                                <td class="style17" style="color: #808080">
                                      <b>
                                      <asp:TextBox ID="txtFinVig" runat="server"></asp:TextBox>
                                      <cc1:CalendarExtender ID="CalendarExtender2" runat="server" Enabled="True" 
                                          TargetControlID="txtFinVig">
                                      </cc1:CalendarExtender>
                                      <cc1:MaskedEditExtender ID="MaskedEditExtender2" runat="server" 
                                          CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                          CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                          CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                                          Mask="99/99/9999" MaskType="Date" TargetControlID="txtFinVig">
                                      </cc1:MaskedEditExtender>
                                      </b></td>
                                <td class="style3" style="style11: ;" colspan="2">
                                    &nbsp;</td> 
                            </tr> 
                            </table>
                    </dx:ContentControl>


                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="Contenedores">
                <ActiveTabImage Align="NotSet">
                </ActiveTabImage>
                <TabImage Align="NotSet">
                </TabImage>
                <ActiveTabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </ActiveTabStyle>
                <TabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </TabStyle>
                <ContentCollection>
                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">

                    <table><tr><td>Viaje:</td><td>
                        <asp:TextBox ID="txtViaje" runat="server" Enabled="False" MaxLength="80" 
                            Width="240px"></asp:TextBox>
                        </td><td>
                            <img border="0"      src="../../res/img/search.gif" onclick ="abrirVentanaVje();" 
                                style="height: 16px; width: 15px;"/>
                            &nbsp;</td><td>
                            <asp:Label ID="lblKvje" runat="server" Visible="False" Width="85px"></asp:Label>
                        </td><td></td><td></td></tr><tr><td>Nro. BL:</td><td>
                        <asp:TextBox ID="txtNroBL" runat="server" MaxLength="20" Width="135px"></asp:TextBox>
                        </td><td>&nbsp;</td><td>
                        <asp:Label ID="lblKBli" runat="server" style="height: 14px" Width="85px"></asp:Label>
                        </td><td></td><td></td></tr><tr><td>Contenedor:</td><td colspan="2">
                        <asp:TextBox ID="txtPrefCntr" runat="server" MaxLength="4" Width="56px"></asp:TextBox>
                        <asp:TextBox ID="txtNroCntr" runat="server" MaxLength="7" Width="141px"></asp:TextBox>
                        <asp:Label ID="lblCntrError" runat="server" style="color: #FF0000" 
                            Text="No existe" Visible="False"></asp:Label>
                        </td><td>
                            <dx:ASPxButton ID="btnAgregarCntr" runat="server" ClientIDMode="AutoID" 
                                CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="17px" 
                                HorizontalAlign="NotSet" ImagePosition="Left" 
                                SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Agregar" 
                                VerticalAlign="NotSet" Width="16px" Wrap="Default">
                                <Image Align="NotSet">
                                </Image>
                                <CheckedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </CheckedStyle>
                                <PressedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </PressedStyle>
                                <HoverStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </HoverStyle>
                                <FocusRectBorder BorderStyle="NotSet" />
                                <BackgroundImage Repeat="Repeat" />
                                <Border BorderStyle="NotSet" />
                                <BorderLeft BorderStyle="NotSet" />
                                <BorderTop BorderStyle="NotSet" />
                                <BorderRight BorderStyle="NotSet" />
                                <BorderBottom BorderStyle="NotSet" />
                                <DisabledStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </DisabledStyle>
                            </dx:ASPxButton>
                        </td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td>
                        <td colspan="2">
                            <asp:GridView ID="dtgContenedores" runat="server" AutoGenerateColumns="False" 
                                CellPadding="4" ForeColor="#333333" GridLines="None" Height="16px" 
                                Width="270px">
                                <AlternatingRowStyle BackColor="White" />
                                <Columns>
                                    <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                    <asp:BoundField DataField="CodViaje" HeaderText="CodViaje" Visible="False" />
                                    <asp:BoundField DataField="Viaje" HeaderText="Viaje" />
                                    <asp:BoundField DataField="Kbli" HeaderText="Kbli" Visible="False" />
                                    <asp:BoundField DataField="BLNume" HeaderText="BLNume" />
                                    <asp:BoundField DataField="PrefCtnr" HeaderText="PrefCtnr" Visible="False" />
                                    <asp:BoundField DataField="NumCtnr" HeaderText="NumCtnr" Visible="False" />
                                    <asp:BoundField DataField="NroCtnr" HeaderText="Nro. Ctnr" />
                                    <asp:TemplateField HeaderText="Eliminar">
                                        <ItemTemplate>
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:ImageButton ID="imgEliminar1" runat="server" 
                                                CommandArgument='<%#Eval("NroCtnr")%>' CommandName="Eliminar" Height="19px" 
                                                ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <EditRowStyle BackColor="#2461BF" />
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <RowStyle BackColor="#EFF3FB" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                            </asp:GridView>
                        </td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="Bill of Lading">
                <ActiveTabImage Align="NotSet">
                </ActiveTabImage>
                <TabImage Align="NotSet">
                </TabImage>
                <ActiveTabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </ActiveTabStyle>
                <TabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </TabStyle>
                <ContentCollection>
                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                    <table><tr><td>Viaje:</td><td>
                        <asp:TextBox ID="txtViaje1" runat="server" Enabled="False" MaxLength="80" 
                            Width="219px"></asp:TextBox>
                        </td><td>
                            <img      src="../../res/img/search.gif" onclick ="abrirVentanaVje1();" 
                                style="height: 16px; width: 15px;"/>
                        </td><td></td></tr><tr><td>Nro. BL:</td><td>
                        <asp:TextBox ID="txtNroBL1" runat="server" MaxLength="20" Width="107px"></asp:TextBox>
                        <asp:Label ID="lblBLError" runat="server" style="color: #FF0000" 
                            Text="No existe" Visible="False"></asp:Label>
                        </td><td>
                            <dx:ASPxButton ID="btnAgregarBL" runat="server" ClientIDMode="AutoID" 
                                CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="17px" 
                                HorizontalAlign="NotSet" ImagePosition="Left" 
                                SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Agregar" 
                                VerticalAlign="NotSet" Width="16px" Wrap="Default">
                                <Image Align="NotSet">
                                </Image>
                                <CheckedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </CheckedStyle>
                                <PressedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </PressedStyle>
                                <HoverStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </HoverStyle>
                                <FocusRectBorder BorderStyle="NotSet" />
                                <BackgroundImage Repeat="Repeat" />
                                <Border BorderStyle="NotSet" />
                                <BorderLeft BorderStyle="NotSet" />
                                <BorderTop BorderStyle="NotSet" />
                                <BorderRight BorderStyle="NotSet" />
                                <BorderBottom BorderStyle="NotSet" />
                                <DisabledStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </DisabledStyle>
                            </dx:ASPxButton>
                        </td><td></td></tr><tr><td></td><td>
                        <asp:Label ID="lblKvje0" runat="server" Visible="False" Width="85px"></asp:Label>
                        </td><td></td><td></td></tr><tr><td></td><td colspan="2">
                        <asp:GridView ID="dtgBL" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" GridLines="None" Height="16px" 
                            Width="198px">
                            <AlternatingRowStyle BackColor="White" />
                            <Columns>
                                <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                <asp:BoundField DataField="Viaje" HeaderText="Viaje" Visible="False" />
                                <asp:BoundField DataField="Nave" HeaderText="Nave" />
                                <asp:BoundField DataField="Kbli" HeaderText="Kbli" Visible="False" />
                                <asp:BoundField DataField="NroBL" HeaderText="Nro. BL" />
                                <asp:TemplateField HeaderText="Eliminar">
                                    <ItemTemplate>
                                        &nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:ImageButton ID="imgEliminar2" runat="server" 
                                            CommandArgument='<%#Eval("Kbli")%>' CommandName="Eliminar" Height="19px" 
                                            ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <EditRowStyle BackColor="#2461BF" />
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#EFF3FB" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#F5F7FB" />
                            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                            <SortedDescendingCellStyle BackColor="#E9EBEF" />
                            <SortedDescendingHeaderStyle BackColor="#4870BE" />
                        </asp:GridView>
                        </td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr></table>
                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="Tipo Pies">
                <ActiveTabImage Align="NotSet">
                </ActiveTabImage>
                <TabImage Align="NotSet">
                </TabImage>
                <ActiveTabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </ActiveTabStyle>
                <TabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </TabStyle>
                <ContentCollection>
                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                    <table><tr><td>Tipo Carga:</td><td>
                        <asp:DropDownList ID="cboTipoCarga" runat="server" Width="158px">
                        </asp:DropDownList>
                        </td><td></td><td></td></tr><tr><td>Tipo Pies:</td><td>
                        <asp:DropDownList ID="cboTipoPies" runat="server" Width="158px">
                        </asp:DropDownList>
                        </td><td>
                            <dx:ASPxButton ID="btnAgregarTpies" runat="server" ClientIDMode="AutoID" 
                                CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="16px" 
                                HorizontalAlign="NotSet" ImagePosition="Left" 
                                SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Agregar" 
                                VerticalAlign="NotSet" Width="16px" Wrap="Default">
                                <Image Align="NotSet">
                                </Image>
                                <CheckedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </CheckedStyle>
                                <PressedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </PressedStyle>
                                <HoverStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </HoverStyle>
                                <FocusRectBorder BorderStyle="NotSet" />
                                <BackgroundImage Repeat="Repeat" />
                                <Border BorderStyle="NotSet" />
                                <BorderLeft BorderStyle="NotSet" />
                                <BorderTop BorderStyle="NotSet" />
                                <BorderRight BorderStyle="NotSet" />
                                <BorderBottom BorderStyle="NotSet" />
                                <DisabledStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </DisabledStyle>
                            </dx:ASPxButton>
                        </td><td></td></tr><tr><td>Dias Libres:</td><td>
                        <asp:TextBox ID="txtDiasLibTPies" runat="server" MaxLength="5" Width="107px"></asp:TextBox>
                        </td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td>
                        <td colspan="2">
                            <asp:GridView ID="dtgTipoPies" runat="server" AutoGenerateColumns="False" 
                                CellPadding="4" ForeColor="#333333" GridLines="None" Height="16px" 
                                Width="270px">
                                <AlternatingRowStyle BackColor="White" />
                                <Columns>
                                    <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                    <asp:BoundField DataField="TipCar" HeaderText="Tipo Carga" Visible="False" />
                                    <asp:BoundField DataField="DesCar" HeaderText="Carga" />
                                    <asp:BoundField DataField="DesTPies" HeaderText="Tipo Pies" />
                                    <asp:BoundField DataField="TipCtnr" HeaderText="Tipo Contenedor" 
                                        Visible="False" />
                                    <asp:BoundField DataField="Pies" HeaderText="Pies" Visible="False" />
                                    <asp:BoundField DataField="CTipo" HeaderText="CTipo" />
                                    <asp:BoundField DataField="DiasDet" HeaderText="Dias Libres" />
                                    <asp:TemplateField HeaderText="Eliminar">
                                        <ItemTemplate>
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:ImageButton ID="imgEliminar3" runat="server" 
                                                CommandArgument='<%#Eval("TipCtnr")%>' CommandName="Eliminar" Height="19px" 
                                                ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <EditRowStyle BackColor="#2461BF" />
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <RowStyle BackColor="#EFF3FB" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                            </asp:GridView>
                        </td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr></table>
                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="Puerto">
                <ActiveTabImage Align="NotSet">
                </ActiveTabImage>
                <TabImage Align="NotSet">
                </TabImage>
                <ActiveTabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </ActiveTabStyle>
                <TabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </TabStyle>
                <ContentCollection>
                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                    <table><tr><td>Puerto:</td><td>
                        <asp:DropDownList ID="cboPuerto" runat="server" Width="158px">
                        </asp:DropDownList>
                        </td><td>
                            <dx:ASPxButton ID="btnAgregarPto" runat="server" ClientIDMode="AutoID" 
                                CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="17px" 
                                HorizontalAlign="NotSet" ImagePosition="Left" 
                                SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Agregar" 
                                VerticalAlign="NotSet" Width="16px" Wrap="Default">
                                <Image Align="NotSet">
                                </Image>
                                <CheckedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </CheckedStyle>
                                <PressedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </PressedStyle>
                                <HoverStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </HoverStyle>
                                <FocusRectBorder BorderStyle="NotSet" />
                                <BackgroundImage Repeat="Repeat" />
                                <Border BorderStyle="NotSet" />
                                <BorderLeft BorderStyle="NotSet" />
                                <BorderTop BorderStyle="NotSet" />
                                <BorderRight BorderStyle="NotSet" />
                                <BorderBottom BorderStyle="NotSet" />
                                <DisabledStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </DisabledStyle>
                            </dx:ASPxButton>
                        </td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td>
                        <td colspan="2">
                            <asp:GridView ID="dtgPuerto" runat="server" AutoGenerateColumns="False" 
                                CellPadding="4" ForeColor="#333333" GridLines="None" Height="16px" 
                                Width="208px">
                                <AlternatingRowStyle BackColor="White" />
                                <Columns>
                                    <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                    <asp:BoundField DataField="CodPTo" HeaderText="CodPTo" Visible="False" />
                                    <asp:BoundField DataField="DesPTo" HeaderText="Puerto" />
                                    <asp:BoundField DataField="DiasDet" HeaderText="DiasDet" Visible="False" />
                                    <asp:TemplateField HeaderText="Eliminar">
                                        <ItemTemplate>
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:ImageButton ID="imgEliminar" runat="server" 
                                                CommandArgument='<%#Eval("CodPTo")%>' CommandName="Eliminar" Height="19px" 
                                                ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <EditRowStyle BackColor="#2461BF" />
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <RowStyle BackColor="#EFF3FB" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                            </asp:GridView>
                        </td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr></table>
                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="País">
                <ActiveTabImage Align="NotSet">
                </ActiveTabImage>
                <TabImage Align="NotSet">
                </TabImage>
                <ActiveTabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </ActiveTabStyle>
                <TabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </TabStyle>
                <ContentCollection>
                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                    <table><tr><td>País:</td><td>
                        <asp:DropDownList ID="cboPais" runat="server" Width="211px">
                        </asp:DropDownList>
                        </td><td>
                            <dx:ASPxButton ID="btnAgregarPai" runat="server" ClientIDMode="AutoID" 
                                CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="17px" 
                                HorizontalAlign="NotSet" ImagePosition="Left" 
                                SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Agregar" 
                                VerticalAlign="NotSet" Width="16px" Wrap="Default">
                                <Image Align="NotSet">
                                </Image>
                                <CheckedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </CheckedStyle>
                                <PressedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </PressedStyle>
                                <HoverStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </HoverStyle>
                                <FocusRectBorder BorderStyle="NotSet" />
                                <BackgroundImage Repeat="Repeat" />
                                <Border BorderStyle="NotSet" />
                                <BorderLeft BorderStyle="NotSet" />
                                <BorderTop BorderStyle="NotSet" />
                                <BorderRight BorderStyle="NotSet" />
                                <BorderBottom BorderStyle="NotSet" />
                                <DisabledStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </DisabledStyle>
                            </dx:ASPxButton>
                        </td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td>
                        <td colspan="2">
                            <asp:GridView ID="dtgPais" runat="server" AutoGenerateColumns="False" 
                                CellPadding="4" ForeColor="#333333" GridLines="None" Height="53px" 
                                Width="195px">
                                <AlternatingRowStyle BackColor="White" />
                                <Columns>
                                    <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                    <asp:BoundField DataField="CodPais" HeaderText="CodPais" Visible="False" />
                                    <asp:BoundField DataField="DesPais" HeaderText="País" />
                                    <asp:BoundField DataField="DiasDet" HeaderText="DiasDet" Visible="False" />
                                    <asp:TemplateField HeaderText="Eliminar">
                                        <ItemTemplate>
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:ImageButton ID="imgEliminar0" runat="server" 
                                                CommandArgument='<%#Eval("CodPais")%>' CommandName="Eliminar" Height="19px" 
                                                ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <EditRowStyle BackColor="#2461BF" />
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <RowStyle BackColor="#EFF3FB" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                            </asp:GridView>
                        </td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr></table>
                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
            <dx:TabPage Text="Área">
                <ActiveTabImage Align="NotSet">
                </ActiveTabImage>
                <TabImage Align="NotSet">
                </TabImage>
                <ActiveTabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </ActiveTabStyle>
                <TabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                </TabStyle>
                <ContentCollection>
                    <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                    <table><tr><td>Área:</td><td>
                        <asp:DropDownList ID="cboArea" runat="server" Width="156px">
                        </asp:DropDownList>
                        </td><td>
                            <dx:ASPxButton ID="btnAgregarArea" runat="server" ClientIDMode="AutoID" 
                                CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="17px" 
                                HorizontalAlign="NotSet" ImagePosition="Left" 
                                SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Agregar" 
                                VerticalAlign="NotSet" Width="16px" Wrap="Default">
                                <Image Align="NotSet">
                                </Image>
                                <CheckedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </CheckedStyle>
                                <PressedStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </PressedStyle>
                                <HoverStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </HoverStyle>
                                <FocusRectBorder BorderStyle="NotSet" />
                                <BackgroundImage Repeat="Repeat" />
                                <Border BorderStyle="NotSet" />
                                <BorderLeft BorderStyle="NotSet" />
                                <BorderTop BorderStyle="NotSet" />
                                <BorderRight BorderStyle="NotSet" />
                                <BorderBottom BorderStyle="NotSet" />
                                <DisabledStyle>
                                    <BackgroundImage Repeat="Repeat" />
                                    <Border BorderStyle="NotSet" />
                                    <BorderLeft BorderStyle="NotSet" />
                                    <BorderTop BorderStyle="NotSet" />
                                    <BorderRight BorderStyle="NotSet" />
                                    <BorderBottom BorderStyle="NotSet" />
                                </DisabledStyle>
                            </dx:ASPxButton>
                        </td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td>
                        <td colspan="2">
                            <asp:GridView ID="dtgArea" runat="server" AutoGenerateColumns="False" 
                                CellPadding="4" ForeColor="#333333" GridLines="None" Height="75px" 
                                Width="221px">
                                <AlternatingRowStyle BackColor="White" />
                                <Columns>
                                    <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                    <asp:BoundField DataField="CodArea" HeaderText="CodArea" Visible="False" />
                                    <asp:BoundField DataField="Area" HeaderText="Area" />
                                    <asp:BoundField DataField="DiasDet" HeaderText="DiasDet" Visible="False" />
                                    <asp:TemplateField HeaderText="Eliminar">
                                        <ItemTemplate>
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:ImageButton ID="imgEliminar4" runat="server" 
                                                CommandArgument='<%#Eval("CodArea")%>' CommandName="Eliminar" Height="19px" 
                                                ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <EditRowStyle BackColor="#2461BF" />
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <RowStyle BackColor="#EFF3FB" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                            </asp:GridView>
                        </td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr></table>
                    </dx:ContentControl>
                </ContentCollection>
            </dx:TabPage>
        </TabPages>
        <LoadingPanelImage Align="NotSet" Url="~/App_Themes/Aqua/Web/Loading.gif">
        </LoadingPanelImage>
        <LoadingPanelStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" 
            Wrap="Default">
            <BackgroundImage Repeat="Repeat" />
            <Border BorderStyle="NotSet" />
            <BorderLeft BorderStyle="NotSet" />
            <BorderTop BorderStyle="NotSet" />
            <BorderRight BorderStyle="NotSet" />
            <BorderBottom BorderStyle="NotSet" />
        </LoadingPanelStyle>
        <ActiveTabImage Align="NotSet">
        </ActiveTabImage>
        <TabImage Align="NotSet">
        </TabImage>
        <Paddings Padding="2px" PaddingLeft="5px" PaddingRight="5px" />
        <ActiveTabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
            <HoverStyle>
                <BackgroundImage Repeat="Repeat" />
                <Border BorderStyle="NotSet" />
                <BorderLeft BorderStyle="NotSet" />
                <BorderTop BorderStyle="NotSet" />
                <BorderRight BorderStyle="NotSet" />
                <BorderBottom BorderStyle="NotSet" />
            </HoverStyle>
            <BackgroundImage Repeat="Repeat" />
            <Border BorderStyle="NotSet" />
            <BorderLeft BorderStyle="NotSet" />
            <BorderTop BorderStyle="NotSet" />
            <BorderRight BorderStyle="NotSet" />
            <BorderBottom BorderStyle="NotSet" />
        </ActiveTabStyle>
        <TabStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
            <HoverStyle>
                <BackgroundImage Repeat="Repeat" />
                <Border BorderStyle="NotSet" />
                <BorderLeft BorderStyle="NotSet" />
                <BorderTop BorderStyle="NotSet" />
                <BorderRight BorderStyle="NotSet" />
                <BorderBottom BorderStyle="NotSet" />
            </HoverStyle>
            <BackgroundImage Repeat="Repeat" />
            <Border BorderStyle="NotSet" />
            <BorderLeft BorderStyle="NotSet" />
            <BorderTop BorderStyle="NotSet" />
            <BorderRight BorderStyle="NotSet" />
            <BorderBottom BorderStyle="NotSet" />
        </TabStyle>
        <ContentStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
            <BackgroundImage Repeat="Repeat" />
            <Border BorderColor="#AECAF0" BorderStyle="Solid" BorderWidth="1px" />
            <BorderLeft BorderStyle="NotSet" />
            <BorderTop BorderStyle="NotSet" />
            <BorderRight BorderStyle="NotSet" />
            <BorderBottom BorderStyle="NotSet" />
        </ContentStyle>
        <BackgroundImage Repeat="Repeat" />
        <Border BorderStyle="NotSet" />
        <BorderLeft BorderStyle="NotSet" />
        <BorderTop BorderStyle="NotSet" />
        <BorderRight BorderStyle="NotSet" />
        <BorderBottom BorderStyle="NotSet" />
        <DisabledStyle>
            <BackgroundImage Repeat="Repeat" />
            <Border BorderStyle="NotSet" />
            <BorderLeft BorderStyle="NotSet" />
            <BorderTop BorderStyle="NotSet" />
            <BorderRight BorderStyle="NotSet" />
            <BorderBottom BorderStyle="NotSet" />
        </DisabledStyle>
    </dx:ASPxPageControl>


                                </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4b1b">
                                <td __designer:mapid="4b1c" class="style5">
                                    &nbsp;</td>
                                <td class="style23" __designer:mapid="4b1d" colspan="2">
                                    &nbsp;</td>
                                <td __designer:mapid="4b1d">
                                    &nbsp;</td>
                                <td class="style28" __designer:mapid="4b1e">
                                    &nbsp;</td>
                                <td class="style16" __designer:mapid="4b1f">
                                    &nbsp;</td>
                                <td __designer:mapid="4b20">
                                    &nbsp;</td>
                                <td __designer:mapid="4b21">
                                    &nbsp;</td>
                                <td __designer:mapid="4b22">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Grabar" CssPostfix="Aqua" ClientIDMode="AutoID" 
                                        ID="btnNuevo" Height="24px" Width="90px">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                </td>
                                <td __designer:mapid="4b23">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Salir" CssPostfix="Aqua" 
                                        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" ClientIDMode="AutoID" 
                                        ID="btnSalir" Width="90px" Height="16px" style="margin-bottom: 0px">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                </td>
                                <td __designer:mapid="4b24">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4b1b">
                                <td __designer:mapid="4b1c" class="style5">
                                    &nbsp;</td>
                                <td class="style23" __designer:mapid="4b1d" colspan="2">
                                    &nbsp;</td>
                                <td __designer:mapid="4b1d">
                                    &nbsp;</td>
                                <td class="style28" __designer:mapid="4b1e">
                                    &nbsp;</td>
                                <td class="style16" __designer:mapid="4b1f">
                                    &nbsp;</td>
                                <td __designer:mapid="4b20">
                                    &nbsp;</td>
                                <td __designer:mapid="4b21">
                                    &nbsp;</td>
                                <td __designer:mapid="4b22">
                                    &nbsp;</td>
                                <td __designer:mapid="4b23">
                                    &nbsp;</td>
                                <td __designer:mapid="4b24">
                                    &nbsp;</td>
                            </tr>
                        </table>


</p>
</asp:Content>
